<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<style>
<!--
.searchContent td label{
width:50px;
}
-->
</style>
<%--dwz分页查询 隐藏传值表单  begin --%>
<form id="pagerForm" method="post" action="#rel#">
	<input type="hidden" name="pageNum" value="${currentPage }" /> 
	<input type="hidden" name="numPerPage" value="${numPerPage}" /> 
	<input type="hidden" name="orderField" value="${param.orderField}" /> 
	<input type="hidden" name="orderDirection" value="${param.orderDirection}" />
</form>
<%--dwz分页查询 隐藏传值表单  end --%>
<%--页头 检索条件区域 begin --%>
<div class="pageHeader">
<form rel="pagerForm" onsubmit="return navTabSearch(this);"	action="stock_stockDevAllList.action" method="post">
		<div class="searchBar">
			<table class="searchContent" >
				<tr>
					<td>
						<label>名&nbsp;&nbsp;称:</label>
						<input type="text" name="devName" value="${devName}" maxlength="20"/>
					</td>
					<td><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></td>
				</tr>
			</table>
		</div>
	</form>
</div>
<%--页头 检索条件区域 end --%>

<%--内容展示区域 begin --%>
<div class="pageContent">

	<%-- 工具栏 end  --%>
	<%-- 分页table列表 begin --%>
	<table class="table" width="100%" layoutH="114">
		<thead>
			<tr>
				<th width="" align="center">序号</th>
				<th width="" >设备名称</th>
				<th width="">设备供应商</th>
				<th width="">设备版本号</th>
				<th width="" >单位</th>
				<th width="" >设备数量</th>
				<th width="" >描述信息</th>
				<%--
				<th width="">操作</th>
				 --%>
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${recordList}" var="devall" varStatus="status">
			<tr target="user_id" rel="${devall.uuid }">
				<td>${(status.index+1) + (currentPage-1) * numPerPage}
				</td>
				<td>${devall.devName }</td>
				<td><c:forEach items="${supList}" var="supplier">
						<c:if test="${supplier.supplierId eq devall.devSupplierId }">${supplier.supplierName }</c:if>
					</c:forEach>
				</td>
				<td>${devall.devVer}</td>
				<td>${devall.devUnit }</td>
				<td>${devall.devNum }</td>
				 <td>
				${devall.describe }
				 </td>
			</tr>
			</c:forEach>
		</tbody>
	</table>
	<%-- 分页table列表 end --%>
	
	<%--分页信息区 begin--%>
	<%@ include file="/WEB-INF/jsp/public/panelBar.jsp"%>	
	<%--分页信息区 end--%>
</div>